package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ProjectName: changgou_parent
 * @Package: com.changgou.config
 * @ClassName: SearchApplication
 * @Author: 孙明田
 * @Description: 搜索启动类
 * @Date: 2020/6/18 16:52
 * @Version: 1.0
 */

@SpringBootApplication
@EnableFeignClients(basePackages = {"com.changgou.goods.feign"})
@EnableEurekaClient
public class SearchApplication {
    public static void main(String[] args) {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
        SpringApplication.run(SearchApplication.class, args);
    }
}
